package com.easy.sso.service.impl;

import com.easy.common.exception.ExceptionEnum;
import com.easy.common.util.Result;
import com.easy.common.util.Tools;
import com.easy.sso.service.CheckLoginService;
import com.easy.sso.util.JwtUtil;
import org.springframework.stereotype.Service;

/**
 * @Author: CoolPro
 * @Description:
 * @Time: 2024-04-23 15:14
 **/
@Service
public class CheckLoginServiceImpl implements CheckLoginService {
    @Override
    public Result checkLogin(String token) {
        return JwtUtil.verify(token);
    }
}
